package com.example.signupservice.feign;

import com.example.commonservice.Common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "activity-service", path = "/activity")
public interface ActivityFeignClient {
    @GetMapping("/getActivityName/{id}")
    Result<String> getActivityName(@PathVariable("id") Long id); // 显式指定参数名
}
